package com.mms.pojo;


import com.baomidou.mybatisplus.annotations.KeySequence;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * user_info表对应的pojo类。
 * </p>
 *
 * @author
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@KeySequence(value = "seq_user_info", clazz = Integer.class)
public class UserInfo extends Common implements Serializable {

    private static final long serialVersionUID = 1L;

    //序列，主键
    @TableId(value = "ID", type = IdType.INPUT)
    private Integer id;

    //用户编号
    private String userNum;

    //昵称
    private String nickname;

    //用户名
    private String username;

    //密码
    private String password;
}
